﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeBehind="edmonitor.aspx.cs" Inherits="HYSoft.Web.edmonitor" %>

<%@ Register Src="~/Controls/menu.ascx" TagName="uc2" TagPrefix="uc2" %>
<%@ Register Src="~/Controls/Search.ascx" TagName="uc3" TagPrefix="uc3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
  <%--<script src="JS/ling.chinaArea-1.0.js" type="text/javascript"></script>
    <script type="text/javascript">
        function initcitydata() {
            $ling.chinaArea.init('<%=selProvince1.ClientID %>', '<%=selCity1.ClientID %>', '<%=selDistrict1.ClientID %>', '<%=address.ClientID %>');
        }
    </script>--%>
    <link href="CSS/editmonitor.css" rel="stylesheet" type="text/css" />
   <%-- <style>
        .tables
        {
            width: 75%;
            background-color: White;
            margin-left: auto;
            margin-right: auto;
            margin-top: 35px;
        }
        .table1
        {
            background: #FFF url(images/w_p5.jpg) repeat-x;
            background-position: bottom;
            width: 850px;
            margin-left: auto;
            margin-right: auto;
            border-spacing: 0px; /*background-color:#93C726;*/
            border-right: 1px solid #d1d1d1;
            border-left: 1px solid #d1d1d1;
            border-bottom-width: 0px;
        }
        .table1 tr
        {
            height: 20px;
        }
        .tables1 td
        {
            border-left: 1px solid #b1b1b1;
            border-bottom: 1px solid #b1b1b1;
        }
        .main
        {
            width:1140px;
            margin-left:auto;
            margin-right:auto;
            height:auto;
            background-color:White;
            margin-top:-18px;
        }
    </style>--%>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolderMenu" runat="server">
    <uc2:uc2 ID="head" runat="server" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="contentPlaceHolderMain" runat="server">
    <div class="main">
      <div style=" margin-top:30px;">
       <img src="Images/top.PNG" width="100%" />
                </div>
               <div style="position: relative; height: 10px; top: -100px; margin: 0% 0px 0px 15%;">
                    <strong style="font-size: 17px; color:Gray">编辑监测点</strong>
                </div>
        <div class="tables">
            <%--top标记--%>
            <div>
                <table class="table1">
                    <div style="width: 850px; margin: 0px auto 0px auto;">
                        <img src="Images/w_p12.jpg" style="width: 100%; height: 100%; bottom: 5px;" /></div>
                    <tr>
                        <td style="width: 50px" align="right">
                            <img src="images/p_3.jpg" />
                        </td>
                        <td style="width: 120px">
                            所属单位：
                        </td>
                        <td style="width: 290px">
                            &nbsp;<%=tounit1() %>
                        </td>
                        <td rowspan="19">
                            <div>
                                
                                <div style="margin: 0px auto 0px auto; background: url(images/1.jpg) no-repeat; width: 340px; height: 280px;">
                                <br />
                                    &nbsp;&nbsp;当前现场照片地址：<%=photo%>
                                    <img src="<%=photo%>" style="margin: 2% 10px 20px 10px; width: 320px; height: 240px;" />
                                </div>
                                <br />
                                &nbsp;&nbsp;&nbsp;&nbsp;替换照片：<asp:FileUpload ID="FileUpload1" runat="server" />
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 50px" align="right">
                            <img src="images/p_3.jpg" />
                        </td>
                        <td style="width: 120px">
                            <span style="text-align: left; width: 92px;">所在区(县)：</span>
                        </td>
                        <td style="width: 290px">
                     <%--   <div>
                                        <select id="selProvince1" runat="server" style="width: 80px;display:none;">
                                        </select>
                                        <label style="display:none;">
                                            省</label>
                                        <select id="selCity1" runat="server" style="width: 80px;display:none;">
                                        </select>
                                        <label style="display:none;">
                                            市</label>
                                        <select id="selDistrict1" runat="server" style="width: 120px;">

                                        </select>
                                        <label>
                                            区/县</label>
                                       <input type="hidden" value="" runat="server" id="address" />
                                    </div>--%>
                            <asp:DropDownList ID="DropDownList23" runat="server">
                                <asp:ListItem Value="北碚区">北碚区</asp:ListItem>
                                <asp:ListItem Value="渝中区">渝中区</asp:ListItem>
                                <asp:ListItem Value="大渡口区">大渡口区</asp:ListItem>
                                <asp:ListItem Value="江北区">江北区</asp:ListItem>
                                <asp:ListItem Value="沙坪坝区">沙坪坝区</asp:ListItem>
                                <asp:ListItem Value="九龙坡区">九龙坡区</asp:ListItem>
                                <asp:ListItem Value="南岸区">南岸区</asp:ListItem>
                                <asp:ListItem Value="万州区">万州区</asp:ListItem>
                                <asp:ListItem Value="涪陵区">涪陵区</asp:ListItem>
                                <asp:ListItem Value="万盛区">万盛区</asp:ListItem>
                                <asp:ListItem Value="双桥区">双桥区</asp:ListItem>
                                <asp:ListItem Value="渝北区">渝北区</asp:ListItem>
                                <asp:ListItem Value="巴南区">巴南区</asp:ListItem>
                                <asp:ListItem Value="黔江区">黔江区</asp:ListItem>
                                <asp:ListItem Value="长寿区">长寿区</asp:ListItem>
                                <asp:ListItem Value="江津区">江津区</asp:ListItem>
                                <asp:ListItem Value="合川区">合川区</asp:ListItem>
                                <asp:ListItem Value="永川区">永川区</asp:ListItem>
                                <asp:ListItem Value="南川区">南川区</asp:ListItem>
                                <asp:ListItem Value="北部新区">北部新区</asp:ListItem>
                                <asp:ListItem Value="经开区">经开区</asp:ListItem>
                                <asp:ListItem Value="高新区">高新区</asp:ListItem>
                                <asp:ListItem Value="綦江区">綦江区</asp:ListItem>
                                <asp:ListItem Value="潼南县">潼南县</asp:ListItem>
                                <asp:ListItem Value="铜梁县">铜梁县</asp:ListItem>
                                <asp:ListItem Value="大足县">大足县</asp:ListItem>
                                <asp:ListItem Value="荣昌县">荣昌县</asp:ListItem>
                                <asp:ListItem Value="璧山县">璧山县</asp:ListItem>
                                <asp:ListItem Value="梁平县">梁平县</asp:ListItem>
                                <asp:ListItem Value="城口县">城口县</asp:ListItem>
                                <asp:ListItem Value="丰都县">丰都县</asp:ListItem>
                                <asp:ListItem Value="垫江县">垫江县</asp:ListItem>
                                <asp:ListItem Value="武隆县">武隆县</asp:ListItem>
                                <asp:ListItem Value="忠县">忠县</asp:ListItem>
                                <asp:ListItem Value="开县">开县</asp:ListItem>
                                <asp:ListItem Value="云阳县">云阳县</asp:ListItem>
                                <asp:ListItem Value="奉节县">奉节县</asp:ListItem>
                                <asp:ListItem Value="巫山县">巫山县</asp:ListItem>
                                <asp:ListItem Value="巫溪县">巫溪县</asp:ListItem>
                                <asp:ListItem Value="石柱县">石柱县</asp:ListItem>
                                <asp:ListItem Value="秀山县">秀山县</asp:ListItem>
                                <asp:ListItem Value="酉阳县">酉阳县</asp:ListItem>
                                <asp:ListItem Value="彭水县">彭水县</asp:ListItem>
                            </asp:DropDownList>
                            <b style="color: red">*</b>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 50px" align="right">
                            <img src="images/p_3.jpg" />
                        </td>
                        <td style="width: 120px">
                            <span class="style1" style="text-align: left; width: 92px;">具体地址：</span>
                        </td>
                        <td style="width: 290px">
                        <input type="text" runat="server" id="TextBox3" />
                            <%--<asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>--%><b style="color: red">*</b><asp:RequiredFieldValidator
                                ID="RequiredFieldValidator3" runat="server" ErrorMessage="不能为空！" ControlToValidate="TextBox3"></asp:RequiredFieldValidator>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 50px" align="right">
                            <img src="images/p_3.jpg" />
                        </td>
                        <td style="width: 120px">
                            <span style="text-align: left; width: 92px;">地址坐标(X,Y):</span>
                        </td>
                        <td style="width: 290px">
                        <input type="text" runat="server" id="TextBox1" />
                            <%--<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>--%><b style="color: red">*</b><asp:RequiredFieldValidator
                                ID="RequiredFieldValidator1" runat="server" ErrorMessage="不能为空！" ControlToValidate="TextBox3"></asp:RequiredFieldValidator>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 50px" align="right">
                            <img src="images/p_3.jpg" />
                        </td>
                        <td style="width: 120px">
                            <span style="text-align: left; width: 92px;">地址灾害类型：</span>
                        </td>
                        <td style="width: 290px">
                        <input type="text" runat="server" id="TextBox4" />
                            <%--<asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>--%>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 50px" align="right">
                            <img src="images/p_3.jpg" />
                        </td>
                        <td style="width: 120px">
                            <span style="text-align: left; width: 92px;">隐患面积：</span>
                        </td>
                        <td style="width: 290px">
                        <input type="text" runat="server" id="TextBox5" />
                            <%--<asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>--%>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 50px" align="right">
                            <img src="images/p_3.jpg" />
                        </td>
                        <td style="width: 120px">
                            <span style="text-align: left; width: 92px;">周边居民数：</span>
                        </td>
                        <td style="width: 290px">
                        <input type="text" runat="server" id="TextBox6" />
                           <%-- <asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>--%>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 50px" align="right">
                            <img src="images/p_3.jpg" />
                        </td>
                        <td style="width: 120px">
                            <span class="style1" style="text-align: left; width: 92px;">现场联系人1：</span>
                        </td>
                        <td style="width: 290px">
                        <input type="text" runat="server" id="TextBox7" />
                            <%--<asp:TextBox ID="TextBox7" runat="server"></asp:TextBox>--%><b style="color: red">*</b><asp:RequiredFieldValidator
                                ID="RequiredFieldValidator4" runat="server" ErrorMessage="不能为空！" ControlToValidate="TextBox7"></asp:RequiredFieldValidator>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 50px" align="right">
                            <img src="images/p_3.jpg" />
                        </td>
                        <td style="width: 120px">
                            <span style="text-align: left; width: 92px;">联系人1电话：</span>
                        </td>
                        <td style="width: 290px">
                        <input type="text" runat="server" id="TextBox8" />
                            <%--<asp:TextBox ID="TextBox8" runat="server"></asp:TextBox>--%><b style="color: red">*</b><asp:RegularExpressionValidator
                                ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBox8"
                                ErrorMessage="请输入正确的电话号码" ValidationExpression="^1[358]\d{9}$"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 50px" align="right">
                            <img src="images/p_3.jpg" />
                        </td>
                        <td style="width: 120px">
                            <span class="style1" style="text-align: left; width: 92px;">现场联系人2：</span>
                        </td>
                        <td style="width: 290px">
                        <input type="text" runat="server" id="TextBox9" />
                           <%-- <asp:TextBox ID="TextBox9" runat="server"></asp:TextBox>--%>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 50px" align="right">
                            <img src="images/p_3.jpg" />
                        </td>
                        <td style="width: 120px">
                            <span style="text-align: left; width: 92px;">联系人2电话：</span>
                        </td>
                        <td style="width: 290px">
                        <input type="text" runat="server" id="TextBox10" />
                            <%--<asp:TextBox ID="TextBox10" runat="server"></asp:TextBox>--%><asp:RegularExpressionValidator
                                ID="RegularExpressionValidator2" runat="server" ControlToValidate="TextBox10"
                                ErrorMessage="请输入正确的电话号码" ValidationExpression="（^1[358]\d{9}$）|((0\d{2,3}-)?\d{7,8})|(^\([0-9]{3,4}\)[0-9]{3,8}$)"></asp:RegularExpressionValidator>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 50px" align="right">
                            <img src="images/p_3.jpg" />
                        </td>
                        <td style="width: 120px">
                            <span style="text-align: left; width: 92px;">现场联系人3：</span>
                        </td>
                        <td style="width: 290px">
                        <input type="text" runat="server" id="TextBox11" />
                            <%--<asp:TextBox ID="TextBox11" runat="server"></asp:TextBox>--%>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 50px" align="right">
                            <img src="images/p_3.jpg" />
                        </td>
                        <td style="width: 120px">
                            <span style="text-align: left; width: 92px;">联系人3电话：</span>
                        </td>
                        <td style="width: 290px">
                        <input type="text" runat="server" id="TextBox12" />
                           <%-- <asp:TextBox ID="TextBox12" runat="server"></asp:TextBox>--%><asp:RegularExpressionValidator
                                ID="RegularExpressionValidator3" runat="server" ControlToValidate="TextBox12"
                                ErrorMessage="请输入正确的电话号码" ValidationExpression="（^1[358]\d{9}$）|((0\d{2,3}-)?\d{7,8})|(^\([0-9]{3,4}\)[0-9]{3,8}$)"></asp:RegularExpressionValidator>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 50px" align="right">
                            <img src="images/p_3.jpg" />
                        </td>
                        <td style="width: 120px">
                            <span style="text-align: left; width: 92px;">上级单位1：</span>
                        </td>
                        <td style="width: 290px">
                        <input type="text" runat="server" id="TextBox13" />
                           <%-- <asp:TextBox ID="TextBox13" runat="server"></asp:TextBox>--%>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 50px" align="right">
                            <img src="images/p_3.jpg" />
                        </td>
                        <td style="width: 120px">
                            <span style="text-align: left; width: 92px;">上级联系人1：</span>
                        </td>
                        <td style="width: 290px">
                        <input type="text" runat="server" id="TextBox14" />
                            <%--<asp:TextBox ID="TextBox14" runat="server"></asp:TextBox>--%>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 50px" align="right">
                            <img src="images/p_3.jpg" />
                        </td>
                        <td style="width: 120px;">
                            <span style="text-align: left; width: 92px;">上级联系人1电话：</span>
                        </td>
                        <td style="width: 290px">
                        <input type="text" runat="server" id="TextBox15" />
                            <%--<asp:TextBox ID="TextBox15" runat="server"></asp:TextBox>--%><asp:RegularExpressionValidator
                                ID="RegularExpressionValidator4" runat="server" ControlToValidate="TextBox15"
                                ErrorMessage="请输入正确的电话号码" ValidationExpression="（^1[358]\d{9}$）|((0\d{2,3}-)?\d{7,8})|(^\([0-9]{3,4}\)[0-9]{3,8}$)"></asp:RegularExpressionValidator>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 50px" align="right">
                            <img src="images/p_3.jpg" />
                        </td>
                        <td style="width: 120px;">
                            <span style="text-align: left; width: 92px;">上级单位2：</span>
                        </td>
                        <td style="width: 290px">
                        <input type="text" runat="server" id="TextBox16" />
                           <%-- <asp:TextBox ID="TextBox16" runat="server"></asp:TextBox>--%>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 50px" align="right">
                            <img src="images/p_3.jpg" />
                        </td>
                        <td style="width: 120px;">
                            <span style="text-align: left; width: 92px;">上级联系人2：</span>
                        </td>
                        <td style="width: 290px">
                        <input type="text" runat="server" id="TextBox17" />
                            <%--<asp:TextBox ID="TextBox17" runat="server"></asp:TextBox>--%>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 50px" align="right">
                            <img src="images/p_3.jpg" />
                        </td>
                        <td style="width: 120px;">
                            <span style="text-align: left; width: 92px;">上级联系人2电话：</span>
                        </td>
                        <td style="width: 290px">
                        <input type="text" runat="server" id="TextBox18" />
                            <%--<asp:TextBox ID="TextBox18" runat="server"></asp:TextBox>--%><asp:RegularExpressionValidator
                                ID="RegularExpressionValidator5" runat="server" ControlToValidate="TextBox18"
                                ErrorMessage="请输入正确的电话号码" ValidationExpression="（^1[358]\d{9}$）|((0\d{2,3}-)?\d{7,8})|(^\([0-9]{3,4}\)[0-9]{3,8}$)"></asp:RegularExpressionValidator>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4" align="center">
                            <asp:Button runat="server" Text="更新监测点" ID="Button1" OnClick="Button1_Click"></asp:Button>
                        </td>
                    </tr>
                </table>
                <div style="width: 850px; margin: 0px auto 0px auto; height: 80px;">
                    <img src="images/p_2.jpg" style="width: 850px;" />
                    <uc3:uc3 ID="Uc1" runat="server" />
                </div>
            </div>
            <div>
            </div>
        </div>
        <div>
            <table width="742">
                <tr>
                    <td width="738" align="center">
                        <div>
                        </div>
                        <div>
                            <asp:Label ID="strStatus" runat="server" Font-Names="宋体" Font-Bold="True" Font-Size="9pt"
                                Width="300" BorderStyle="None" BorderColor="White"></asp:Label>
                        </div>
                        <div style="padding: 10px 0">
                            &nbsp;
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </div>

</asp:Content>
